home *** CD-ROM | disk | FTP | other *** search
/ Agent Central Host Computer / Agent - Central Host Computer.iso / _SETUP.1 / status.sql < prev    next >
Text File  |  2000-05-12  |  918b  |  23 lines

  1. /* RCSVER $Id: status.sql,v 1.1 1999-02-24 15:52:14-06 randy CURRENT $ */
  2. /* *************************************************************************
  3. *        Copyright (C) 1999, Agent Systems, Inc. All Rights Reserved.
  4. *
  5. * Name:        status.sql
  6. * Date:        02/23/1999
  7. * memo:        Randy Wood
  8. * Description:    Create the status table. this table contains statuses
  9. *        that are valid for all equipment types and programs.
  10. * Changes:
  11. ************************************************************************* */
  12. CREATE TABLE status
  13. (
  14.     status_id    NUMBER(38),    /* Unique ID of this status */
  15.     status_type    NUMBER(38),    /* Type of status: */
  16.                     /* 1 = primary */
  17.                     /* 2 = secondary (etc.) */
  18.     equip_type     NUMBER(38)    /* Type of equipment for this status */
  19.         CONSTRAINT ref1_status REFERENCES equiptype(equip_type),
  20.     descr        VARCHAR2(30),    /* Description of status */
  21.     CONSTRAINT pk_status PRIMARY KEY (status_id)
  22. );
  23.